package com.ljb.retrofit_demo.bean;


import com.ljb.http.retrofit.request.IResponse;

import java.util.List;

/**
 * Created by lijianbin on 2016/12/15.
 */
public class WeatherBean extends IResponse {

    public List<Results> results;

    public static class Results {
        /**
         * location : {"id":"WX4FBXXFKE4F","name":"北京","country":"CN","path":"北京,北京,中国","timezone":"Asia/Shanghai","timezone_offset":"+08:00"}
         * now : {"text":"晴","code":"0","temperature":"5"}
         * last_update : 2016-12-15T15:05:00+08:00
         */

        public Location location;
        public Now now;
        public String last_update;

        public static class Location {
            /**
             * id : WX4FBXXFKE4F
             * name : 北京
             * country : CN
             * path : 北京,北京,中国
             * timezone : Asia/Shanghai
             * timezone_offset : +08:00
             */

            public String id;
            public String name;
            public String country;
            public String path;
            public String timezone;
            public String timezone_offset;
        }

        public static class Now {
            /**
             * text : 晴
             * code : 0
             * temperature : 5
             */

            public String text;
            public String code;
            public String temperature;
        }
    }
}
